<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Author" contect="http://www.webqin.net">
<title>忘记密码</title>
<link rel="shortcut icon" href="images/favicon.ico" />
<link type="text/css" href="css/css.css" rel="stylesheet" />
    <script type="text/javascript" src="js/jquery-1.8.3-min.js"></script>


</head>

<body>
 
  <div class="content">
   <div class="web-width">
     <div class="for-liucheng">
      <div class="liulist for-cur"></div>
      <div class="liulist"></div>
      <div class="liulist"></div>
      <div class="liulist"></div>
      <div class="liutextbox">
       <div class="liutext for-cur"><em>1</em><br /><strong>填写账户名</strong></div>
       <div class="liutext"><em>2</em><br /><strong>验证身份</strong></div>
       <div class="liutext"><em>3</em><br /><strong>设置新密码</strong></div>
       <div class="liutext"><em>4</em><br /><strong>完成</strong></div>
      </div>
     </div><!--for-liucheng/-->
     <div class="forget-pwd" id="form-forget">
       <dl>
        <dt>账户名：</dt>
        <dd><input type="text" name="account" id="account"/></dd>
        <div class="clears"></div>
       </dl> 
       <dl>
        <dt>验证码：</dt>
        <dd>
         <input type="text" /> 
         <div class="yanzma">
         </div>
        </dd>
        <div class="clears"></div>
       </dl>
       <div class="subtijiao"><input type="button" value="提交" onclick="subm()"/></div>
      </div><!--forget-pwd/-->
   </div><!--web-width/-->
  </div><!--content/-->

  <script>
      function subm() {
          var account = $("#account").val();
          $.get("/web-user/user/findUserByAccount",{"account":account}, function (result) {
              if(result=="success"){
                  alert("验证通过");
                  location.href="forgetPwd2.html"
              }else{
                  alert("账号不存在");
              }

          });
      };
  </script>
</body>
</html>
